package com.zgbd.douyanglive.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 远程服务调用接口
 * name 指定服务提供者是哪个服务
 */
@FeignClient(name = "DouYang-System")
public interface SystemPayClient {

    @GetMapping("/douyang/pay/checkMyBalance")
    String checkMyBalance(@RequestParam String userId);

}
